package org.example.service.impl;

import com.github.pagehelper.PageInfo;
import org.example.entity.Charging_standards;
import org.example.mapper.Charging_standardsMapper;
import org.example.service.Charging_standardsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

/**
 * @ClassName Charging_standardsServiceImpl
 * @Description TODO
 * @Author yuezhijie
 * @Date 2025年08月14日 20:43
 * @Version 1.0
 */
@Service
public class Charging_standardsServiceImpl implements Charging_standardsService {
    @Autowired
    private Charging_standardsMapper charging_standardsMapper;


    @Override
    public List<Charging_standards> selectById(int id) {
        List<Charging_standards> chargingStandards = charging_standardsMapper.selectById(id);
        return chargingStandards;
    }

    @Override
    public List<Charging_standards> selectAll(int id) {
        List<Charging_standards> ChargingStandards = charging_standardsMapper.selectAll(id);
        return ChargingStandards;
    }

    @Override
    public List<Charging_standards> findAllByZxs(int id) {
        List<Charging_standards> allByZxs = charging_standardsMapper.findAllByZxs(id);
        return allByZxs;
    }
}
